import {createRouter,createWebHistory} from "vue-router";

const routes = [
    {path:'/',redirect:'index'},
    {path:'/index',name:'index',component:()=>import("../components/Index.vue")},
    {path:'/pay',name:'pay',component:()=>import("../components/Pay.vue")},
]

const router = createRouter({
    history:createWebHistory(),
    routes
})

export default router